#pragma once
#include "Singleton.h"
#include <shlwapi.h>

class LogWriter: public Singleton<LogWriter>
{
	TCHAR DirName[500];

public:
	void SetDirectory(TCHAR *iDir) { StrCpy(DirName, iDir); }
	void GetUniqueFileName(TCHAR *iExt, TCHAR *oName);
	void WriteToFile(TCHAR *iFName, TCHAR *iImgName, TCHAR *iMessage);
};
